package team.lourd.network.system.telecom.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;
import team.lourd.network.system.telecom.domain.User;

/**
 * @Author: yuwenming
 * @Description:
 * @Date: Created in 17:16 2018/6/10
 */
@Repository
public interface UserRepository extends JpaRepository<User, Integer>, JpaSpecificationExecutor<User> {

    User findUserByUserName(@Param("username") String username);

}
